package cn.edu.nju.oraldefense.dao;

import java.util.List;

import cn.edu.nju.oraldefense.model.Observer;

public interface ObserverDao {
	public void save(Observer instance);

	public Observer findById(int id);

	public List findByProperty(String propertyName, Object value);

	public List findByUsername(String username);
	
	public void update(Observer instance);

	public void delete(Observer instance);
}
